package com.jhgsys.internal.sypq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jhgsys.internal.common.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName AttachmentFile
 * @Description 附件表
 * @Author Lucas
 * @Date 2024/11/17
 **/
@Data
@TableName("sypq_attachment_file")
public class AttachmentFile  extends BaseEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId(value = "attach_id", type = IdType.ASSIGN_UUID)
    private String attachId;

    /**
     * 单据类型,数据字典VOUCH_TYPE,1:任务管理(task),2:桨模(model_oras),3:附体(model_attach)，4：船模, 5：桨模图纸，6：附体图纸
     */
    @TableField(value = "voucher_type")
    private String voucherType;

    /**
     * 单据编号
     */
    @TableField(value = "voucher_code")
    private String voucherCode;

    /**
     * 附件文件路径
     */
    @TableField(value = "filepath")
    private String filepath;

    /**
     * 文件名
     */
    @TableField(value = "filename")
    private String filename;

}
